package com.ruoyi.spot.realtime.ticker.service;

import java.util.List;
import com.ruoyi.spot.realtime.ticker.domain.SpotTickerRealtimeData;
import com.ruoyi.spot.realtime.ticker.domain.VO.SpotTickerRealtimeDataVO;

/**
 * 实时TickerService接口
 * 
 * @author saumell
 * @date 2024-08-03
 */
public interface ISpotTickerRealtimeDataService 
{
    /**
     * 查询实时Ticker
     * 
     * @param id 实时Ticker主键
     * @return 实时Ticker
     */
    public SpotTickerRealtimeDataVO selectSpotTickerRealtimeDataById(Integer id);

    /**
     * 查询实时Ticker列表
     * 
     * @param spotTickerRealtimeData 实时Ticker
     * @return 实时Ticker集合
     */
    public List<SpotTickerRealtimeDataVO> selectSpotTickerRealtimeDataList(SpotTickerRealtimeDataVO spotTickerRealtimeData);

    /**
     * 新增实时Ticker
     * 
     * @param spotTickerRealtimeData 实时Ticker
     * @return 结果
     */
    public int insertSpotTickerRealtimeData(SpotTickerRealtimeData spotTickerRealtimeData);

    /**
     * 修改实时Ticker
     * 
     * @param spotTickerRealtimeData 实时Ticker
     * @return 结果
     */
    public int updateSpotTickerRealtimeData(SpotTickerRealtimeData spotTickerRealtimeData);

    /**
     * 批量删除实时Ticker
     * 
     * @param ids 需要删除的实时Ticker主键集合
     * @return 结果
     */
    public int deleteSpotTickerRealtimeDataByIds(Integer[] ids);

    /**
     * 删除实时Ticker信息
     * 
     * @param id 实时Ticker主键
     * @return 结果
     */
    public int deleteSpotTickerRealtimeDataById(Integer id);

    List<SpotTickerRealtimeDataVO> selectSpotAllData();

    Integer queryCurryNumber(String currencyPair);
}
